package com.example.authsystem.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "用户列表响应")
public class UserListResponse {
    @Schema(description = "用户列表")
    private List<UserProfileDto> users;
    @Schema(description = "总记录数", example = "100")
    private Long total;
    @Schema(description = "当前页码", example = "1")
    private Integer page;
    @Schema(description = "每页大小", example = "10")
    private Integer size;
}